Adjust to recent Gnulib nstrftime changes
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Feb 2024 05:18:25 +0000 (21:18 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Feb 2024 06:04:58 +0000 (22:04 -0800)
* admin/merge-gnulib (AVOIDED_MODULES): Add localename.
* configure.ac (REQUIRE_GNUISH_STRFTIME_AM_PM): Define.

admin/merge-gnulib
configure.ac

index 5246fb14e1e25e10abd77af5586ebd284a547fc4..35966852e27a2ea856436513f47c5c519893e73e 100755 (executable)
@@ -53,7 +53,7 @@ GNULIB_MODULES='
 
 AVOIDED_MODULES='
   access btowc chmod close crypto/af_alg dup fchdir fstat
-  iswblank iswctype iswdigit iswxdigit langinfo lock
+  iswblank iswctype iswdigit iswxdigit langinfo localename lock
   mbrtowc mbsinit memchr mkdir msvc-inval msvc-nothrow nl_langinfo
   openat-die opendir pthread-h raise
   save-cwd select setenv sigprocmask stat stdarg
index 847fdbd54d2778386b39ad2bbb69778e594b68d6..c162f880e484a128cea4e879d476e4f8a8b99f5e 100644 (file)
@@ -1566,6 +1566,8 @@ AC_DEFUN([gt_TYPE_WINT_T],
 AC_DEFUN_ONCE([gl_STDLIB_H],
   [AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
    gl_NEXT_HEADERS([stdlib.h])])
+AC_DEFINE([REQUIRE_GNUISH_STRFTIME_AM_PM], [false],
+  [Emacs does not need glibc strftime behavior for AM and PM indicators.])
 
 # Initialize gnulib right after choosing the compiler.
 dnl Amongst other things, this sets AR and ARFLAGS.